﻿namespace CookieTerm
{
    using System;

    public interface IWindow
    {
        EventHandler<ConsoleInputReceivedEventArgs> OnConsoleInputReceived { get; set; }

        string StatusText { get; set; }

        void PromptForUserNamePassword(out string userName, out string password);
        void ShowMessageBox(string message);
        bool ShowYesNoMessageBox(string message);
        void StartClosing();
        void ResetAntiIdle();
        void InvalidateCell(int row, int col);
        void InvalidateRect(int top, int left, int bottom, int right);
    }
}